/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.lottery.game.core.modules.entity.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.lottery.game.common.BaseObject;

import java.util.Date;

import lombok.Data;

/**
 * 代理分红Entity
 *
 * @author Li
 * @version 2018-08-23
 */
@Data
//@JsonFilter("gameDividendFilter")
public class GameDividend extends BaseObject {
    @JsonProperty("id")
    private String id;
    /**
     * 分红总额
     */
    @JsonProperty("amount")
    private Double amount;
    /**
     * 结算时间
     */
    @JsonProperty("createDate")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startDate;        // 目标开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endDate;        // 目标结束时间
    private String dividendType;        // 分红类型【1团队流水，2团队盈利，3团队充值量，4自定义充值】
    private Double percent;        // 分红百分比
    private String roomId;        // 分红房间编号
    private Integer dividendNumber;        // 编号
    private String agentId;        // 代理Id

    /**
     * 以下数据和数据库无关
     */
    private Date beginCreateDate;
    private Date endCreateDate;
    /**
     * 流水
     */
    private Double pouringWater;
    /**
     * 盈亏
     */
    private Double profit;
    /**
     * 充值
     */
    private Double recharge;
    /**
     * 房间名
     */
    private String roomName;

}
